package com.wanmait.employment.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.util.Date;
import lombok.Data;

/**
* Created by Mybatis Generator 2023/05/19
*/
@Data
@TableName(value = "black_rule")
public class BlackRule {
     @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 处罚级别
     */
    @TableField(value = "title")
    private String title;

    /**
     * 管理员发布人id
     */
    @TableField(value = "admin_id")
    private Integer adminId;

    /**
     * 发布时间
     */
    @TableField(value = "create_time")
    private Date createTime;

    /**
     * 处罚简介
     */
    @TableField(value = "content")
    private String content;

    /**
     * 处罚天数
     */
    @TableField(value = "days")
    private Integer days;

    /**
     * 假删
     */
    @TableField(value = "enable")
    private Boolean enable;

    public static final String COL_TITLE = "title";

    public static final String COL_ADMIN_ID = "admin_id";

    public static final String COL_CREATE_TIME = "create_time";

    public static final String COL_CONTENT = "content";

    public static final String COL_DAYS = "days";

    public static final String COL_ENABLE = "enable";
}